import request from 'umi-request';

export async function getResignationId(userCode) {
  return request(`/hr-ssc/api/api-admin/dimission/getEmployessInfoByCode/${userCode}`, {
    method: 'get',
  }).then((res) => {
    return res.data;
  });
}
